﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PMS.ENT
{
    public class NotificationENT
    {
        public static string _Table = "Notification";

        public int NotificationID { get; set; }
        public int UserID { get; set; }
        public int GroupID { get; set; }
        public int CreatedBy { get; set; }
        public DateTime CreatedDate { get; set; }
        public string Description { get; set; }
        public string Link { get; set; }
        public int IsRead { get; set; }
        public DateTime ReadDate { get; set; }
        public int IsDelete { get; set; }

        public NotificationENT()
        { }

    }

    public enum NotificationColumns
    {
        NotificationID,
        UserID,
        GroupID,
        CreatedBy,
        CreatedDate,
        Description,
        Link,
        IsRead,
        ReadDate,
        IsDelete
    }

    public class NotificationCollection : List<NotificationENT>
    {
        public NotificationCollection()
            : base()
        { }

        public NotificationCollection(IEnumerable<NotificationENT> collection)
            : base(collection)
        { }

        public NotificationCollection(ICollection<NotificationENT> collection)
            : base(collection)
        { }

    }
}
